package work20241206_chap7.m_demo10;

/**
 * @author zdl
 * @date 2024/12/5
 */
//信用账户
public class CreditAccount extends Account {
    private double  creditLine;
    public CreditAccount(){}
    public CreditAccount(double creditLine) {
        this.creditLine = creditLine;
    }

    public CreditAccount(long id, double balance, String password, double creditLine) {
        super(id, balance, password);
        this.creditLine = creditLine;
    }

    public double getCreditLine() {
        return creditLine;
    }

    public void setCreditLine(double creditLine) {
        this.creditLine = creditLine;
    }
}
